<# # It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description: Script is designed To fetch Ethernet details and its speed # Configuration Type - COMPUTER #> # Get LAN network adapters $lanAdapters = Get-NetAdapter | Where-Object { $_.InterfaceDescription -like "*Ethernet*" } # Output details for each LAN adapter found foreach ($adapter in $lanAdapters) { Write-Host "Name: $($adapter.Name)" Write-Host "Description: $($adapter.InterfaceDescription)" Write-Host "Status: $($adapter.Status)" Write-Host "Speed (Mbps): $($adapter.LinkSpeed)" Write-Host "----------------------" }